package com.lxw.manage_cms.dao;

import com.lxw.framework.domain.cms.CmsPage;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface CmsPageDao extends MongoRepository<CmsPage, String> {


    //根据页面名称和类型查询
    CmsPage findByPageNameAndPageType(String pageName,String PageType);
}
